window.onload = function() {
    var vm = new Vue({
      el: "#entry",
      data: {
        entry:{
            name:'',
            tel:'',
            basicDemand:''
        }
      },
      created: function() {

      },
      methods: {
        toEntry(){
            var _this = this;
            house_server.getEntrustCreate(this.entry,function(res){
                _this.entry = {};
                var toast = new auiToast({});
                toast.success({
                    title: "提交成功",
                    duration: 2000
                  });
            })
        }
      }
    });
  };
  